import request from "@/utils/Request";
export default {
	list(data) {
		return request({
			url: "/zx/plan/get",
			method: "post",
			data: data,
		});
	},
	create(data) {
		return request({
			url: "/zx/plan/create",
			method: "post",
			data: data,
		});
	},

	delete(id) {
		return request({
			url: "/zx/plan/delete",
			method: "delete",
			params: { ids: id },
		});
	},

	setLeader(data) {
		return request({
			url: "/zx/plan/setLeader",
			method: "post",
			data: data,
		});
	},
};
